﻿using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;

namespace SaveTheQueen.Utils
{
    public static class Audio
    {
        private static SoundEffect Cancel;
        private static SoundEffect Confirm;
        private static SoundEffect Cursor;
        private static SoundEffect Fail;
        private static SoundEffect Error;

        public static void LoadAudio(Game game)
        {
            Cancel = game.Content.Load<SoundEffect>("Audio/Cancel");
            Confirm = game.Content.Load<SoundEffect>("Audio/Confirm");
            Cursor = game.Content.Load<SoundEffect>("Audio/Cursor");
            Fail = game.Content.Load<SoundEffect>("Audio/Fail");
            Error = game.Content.Load<SoundEffect>("Audio/Error");
        }

        public static SoundEffect Cancel1
        {
            get { return Audio.Cancel; }
        }
        public static SoundEffect Confirm1
        {
            get { return Audio.Confirm; }
        }
        public static SoundEffect Cursor1
        {
            get { return Audio.Cursor; }
        }
        public static SoundEffect Fail1
        {
            get { return Audio.Fail; }
        }
        public static SoundEffect Error1
        {
            get { return Audio.Error; }
        }
    }
}
